home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 2 / Gold Medal Software Volume 2 (Gold Medal) (1994).iso / os2 / cenvi2.arj / BIGFONT.CMD < prev    next >
OS/2 REXX Batch file  |  1993-10-20  |  437b  |  20 lines

  1. EXTPROC CEnvi
  2. // BigFont.cmd - Example for how to control other programs using the
  3. //               the keyboard stuffing routines in KeyPush.Lib.
  4.  
  5. #include <KeyPush.lib>
  6. #include <ClipBrd.lib>
  7.  
  8. system("mode 80,10");
  9.  
  10. KeyStroke(VK_ALT);
  11. KeyStroke('f');
  12. KeyStroke(VK_END);
  13. KeyStroke(VK_ENTER);
  14.  
  15. Command = "cls\rBigFont  WOW!!!";
  16. PutClipboardData(Command,1+strlen(Command),CF_TEXT);
  17. KeyStroke(VK_ALT);
  18. KeyStroke('p');
  19.  
  20.